<div class="ranking_panel ranking_rich">
    <div class="box_border">
        <div class="wrap bd mpt a_tab">
            <ul class="tab_style_2 clrfix">
                <li><a href="javascript:;" tab_bd="e_tab_bd_1" class="e_tab_hanle on">日</a></li>
                <li>|<a href="javascript:;" tab_bd="e_tab_bd_2" class="e_tab_hanle" >周</a></li>
                <li>|<a href="javascript:;" tab_bd="e_tab_bd_3" class="e_tab_hanle" >月</a></li>
                <li>|<a href="javascript:;" tab_bd="e_tab_bd_4" class="e_tab_hanle" >总</a></li>
            </ul>
            
            <!-------------富豪日榜Begin------------->
            <?php if($topwealthday){foreach($topwealthday as $key=>$val){?>
                <?php if($key == 0){?>
                    <div class="first clrfix e_tab_bd e_tab_bd_1">
                        <img class="photo" src="<?php echo (!empty($val['avatar']) ? $val['avatar'] : STATIC_HTTP . 'img/avatar.gif'); ?>">
                        <ul class="info">
                        	<li>
                            	<?php echo $val['nickname'];?>
                            </li>
                            <li>
                            	<span class="icon_ranking_order"></span>
                            </li>
                        </ul>
                        <span class="mpt a_createicon" wealth="<?php echo $val['wealth']?>" type="wealth"></span>
                    </div>
                <?php }else{?>
                     <div class="list clrfix e_tab_bd e_tab_bd_1">
                        <div class="order_num">
                            <img src="<?= STATIC_HTTP ?>img/order_num/<?php echo $key+1;?>.gif">
                        </div>
                        <div class="nickname"><?php echo $val['nickname'];?></div>
                        <span class="mpt a_createicon" wealth="<?php echo $val['wealth']?>" type="wealth"></span>
                    </div>
                <?php }?>
            <?php }}?>
            <!-------------富豪日榜End------------->
            
            <!-------------富豪周榜Begin------------->
            <?php if($topwealthweek){foreach($topwealthweek as $key=>$val){?>
                <?php if($key == 0){?>
                    <div class="first clrfix e_tab_bd e_tab_bd_2 hide">
                        <img class="photo" src="<?php echo (!empty($val['avatar']) ? $val['avatar'] : STATIC_HTTP . 'img/avatar.gif'); ?>">
                        <ul class="info">
                        	<li>
                            	<?php echo $val['nickname'];?>
                            </li>
                            <li>
                            	<span class="icon_ranking_order"></span>
                            </li>
                        </ul>
                        <span class="mpt a_createicon" wealth="<?php echo $val['wealth']?>" type="wealth"></span>
                    </div>
                <?php }else{?>
                     <div class="list clrfix e_tab_bd e_tab_bd_2 hide">
                        <div class="order_num">
                            <img src="<?= STATIC_HTTP ?>img/order_num/<?php echo $key+1;?>.gif">
                        </div>
                        <div class="nickname"><?php echo $val['nickname'];?></div>
                        <span class="mpt a_createicon" wealth="<?php echo $val['wealth']?>" type="wealth"></span>
                    </div>
                <?php }?>
            <?php }}?>
            <!-------------富豪周榜End------------->
            
            <!-------------富豪月榜Begin------------->
            <?php if($topwealthweek){foreach($topwealthweek as $key=>$val){?>
                <?php if($key == 0){?>
                    <div class="first clrfix e_tab_bd e_tab_bd_3 hide">
                        <img class="photo" src="<?php echo (!empty($val['avatar']) ? $val['avatar'] : STATIC_HTTP . 'img/avatar.gif'); ?>">
                        <ul class="info">
                        	<li>
                            	<?php echo $val['nickname'];?>
                            </li>
                            <li>
                            	<span class="icon_ranking_order"></span>
                            </li>
                        </ul>
                        <span class="mpt a_createicon" wealth="<?php echo $val['wealth']?>" type="wealth"></span>
                    </div>
                <?php }else{?>
                     <div class="list clrfix e_tab_bd e_tab_bd_3 hide">
                        <div class="order_num">
                            <img src="<?= STATIC_HTTP ?>img/order_num/<?php echo $key+1;?>.gif">
                        </div>
                        <div class="nickname"><?php echo $val['nickname'];?></div>
                       <span class="mpt a_createicon" wealth="<?php echo $val['wealth']?>" type="wealth"></span>
                    </div>
                <?php }?>
            <?php }}?>
            <!-------------富豪月榜End------------->
            
            <!-------------富豪总榜Begin------------->
            <?php if($topwealthall){foreach($topwealthall as $key=>$val){?>
                <?php if($key == 0){?>
                    <div class="first clrfix e_tab_bd e_tab_bd_4 hide">
                        <img class="photo" src="<?php echo (!empty($val['avatar']) ? $val['avatar'] : STATIC_HTTP . 'img/avatar.gif'); ?>">
                        <ul class="info">
                        	<li>
                            	<?php echo $val['nickname'];?>
                            </li>
                            <li>
                            	<span class="icon_ranking_order"></span>
                            </li>
                        </ul>
                        <span class="mpt a_createicon" wealth="<?php echo $val['wealth']?>" type="wealth"></span>
                    </div>
                <?php }else{?>
                     <div class="list clrfix e_tab_bd e_tab_bd_4 hide">
                        <div class="order_num">
                            <img src="<?= STATIC_HTTP ?>img/order_num/<?php echo $key+1;?>.gif">
                        </div>
                        <div class="nickname"><?php echo $val['nickname'];?></div>
                        <span class="mpt a_createicon" wealth="<?php echo $val['wealth']?>" type="wealth"></span>
                    </div>
                <?php }?>
            <?php }}?>
            <!-------------富豪总榜End------------->
            
            
        </div>
    </div>
	<div class="hd"><a class="hd-title" title="根据用户消费额排行"></a></div>
</div>